package com.toggery.POS.controller;

import org.springframework.stereotype.Controller;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by L-JH on 2018/4/26
 */
@Controller
@Api(tags = "主页面")
public class IndexController {
//    @Autowired
    @RequestMapping("/")
    public String index(){
        return "index";
    }
    @RequestMapping("/index")
    public String index1(){
        return "index";
    }
    @RequestMapping("/login")
    public String login(){
        return "login";
    }

//    @RequestMapping("/welcome")
//    public String welcome(){
//        return "html/welcome";
//    }
}
